package com.renli.mapper;

import com.renli.pojo.*;
import com.renli.vo.InterviewVo;
import com.renli.vo.SelectPostRelease;
import com.renli.vo.SelectResumeVo;

import java.util.List;
import java.util.Map;

public interface RecruitMapper {
    Integer insertPostRelease(PostRelease postRelease) ;

    List<Map<String,Object>> selectPostRelease(SelectPostRelease selectPostRelease);

    List<PostClass> selectPostClass();

    Integer updatePostRelease(PostRelease postRelease);

    Integer insertResume(Resume resume);

    Integer insertInterview(Interview interview);

    Integer insertEvent(Event event);

   List<SelectResumeVo> selectResume(Resume resume);

    SelectResumeVo selectOneResume(Map map);

   List<Map<String,Object>> selectEvent(Map map);


    Integer updateEvent(InterviewVo interviewVo);

    Integer updateResume(Resume resume);

    Event selectEventId(Map<String, Object> map);

    String selectEventType(Event event);

    List<Map<String, Object>> find(Map<String, Object> map);

    Resume selectResumeByEvent(Event event);

    Integer updateBackupArhives(BackupArhives backupArhives);

    Integer updateChangeStatistics(ChangeStatistics changeStatistics);
}
